
<!DOCTYPE html>
<html lang="en">
<body>
	<script
		src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script>
		(function($) {
			$
					.getJSON(
							"http://jquery.com/",
							// Using ? just means call the callback function provided 
							function(data) { // Data is the JSON object from Flickr     
								$.each(data.items, function(i, item) {
									$('<img />').attr("src", item.media.m)
											.appendTo('body');
									if (i == 30)
										return false;
								});
							});
		})(jQuery);
	</script>
</body>
</html>